TEC\Tickets\Commerce\Gateways\PayPal\Client A

Total Complexity 68
Dependencies 8
Dependents 10
Total lines 926
Lines of code 492
Logical lines of code 216
Comment lines 321
Methods 27
Properties 1

Methods 27

Method Rating Maintainability Complexity Lines of code
request()
B
34 19 87
create_order()
A
40 6 65
create_webhook()
S
46 6 41
update_webhook()
S
44 5 46
get_webhook()
S
52 3 24
capture_order()
S
55 2 20
get_payment_authorization()
S
57 2 18
list_webhooks()
S
58 2 17
delete_webhook()
S
58 2 16
get_home_page_url()
S
64 3 10
verify_webhook_signature()
S
54 1 21
get_order()
S
57 1 17
refund_payment()
S
58 1 16
get_access_token_from_authorization_code()
S
58 1 16
get_environment_url()
S
71 2 6
get_js_sdk_url()
S
58 1 14
get_access_token_from_client_credentials()
S
60 1 14
get_client_token()
S
67 1 8
get_access_token()
S
80 1 3
delete()
S
78 1 3
get_user_info()
S
64 1 10
patch()
S
78 1 3
post()
S
78 1 3
get()
S
78 1 3
get_debug_header()
S
82 1 3
set_debug_header()
S
81 1 3
get_api_url()
S
71 1 5